package com.jit.monitor.view;

import com.jit.baselib.bean.response.BaseListResponse;
import com.jit.baselib.ui.base.BaseView;
import com.jit.monitor.model.response.MainResponse;

import java.util.List;

/**
 * @author crazyZhangxl on 2018/12/21.
 * Describe:
 */
public interface MainAtView extends BaseView{
    void logoutSuccess();
    void logoutFailure();

    void queryListSuccess(List<MainResponse> responseList);
    void queryListFailure(String msg);


    void queryTypeSuccess(int type);
    void queryTypeFailure(String error);


    void setTypeSuccess(int type,String name);
    void setTypeFailure(String msg);

    void controlNotifySuccess(String msg);
    void controlNotifyFailure(int position,String state,String error);

    void controlLedSuccess(int position,String msg);
    void controlLedFailure(int position,String error);

}
